The following tables list the members exposed by PagerRepository<T>.
Name | Description | |
---|---|---|
![]() | PagerRepository<T> Constructor | Creates a new repository. |
Name | Description | |
---|---|---|
![]() | DefaultQueryStrategy | Gets or sets the repository's default query strategy. (Inherited from Cocktail.Repository<T>) |
Name | Description | |
---|---|---|
![]() | EntityManager | Returns the EntityManager used by this repository. (Inherited from Cocktail.Repository<T>) |
Name | Description | |
---|---|---|
![]() | AllAsync | Overloaded. Retrieves all entities with the repository's default query strategy. (Inherited from Cocktail.Repository<T>) |
![]() | AllInCache | Retrieves all entities from the cache. (Inherited from Cocktail.Repository<T>) |
![]() | AllInDataSourceAsync | Overloaded. Retrieves all entities from the back-end data source. (Inherited from Cocktail.Repository<T>) |
![]() | CountAsync | Returns the number of entities. (Inherited from Cocktail.Repository<T>) |
![]() | CountInCache | Returns the number of entities in the cache. (Inherited from Cocktail.Repository<T>) |
![]() | Delete | Overloaded. Marks the specified entity as to be deleted. (Inherited from Cocktail.Repository<T>) |
![]() | ExistsInCache | Returns true if the entity matching the provided key is found in the cache. (Inherited from Cocktail.Repository<T>) |
![]() | FindAsync | Overloaded. Retrieves one or more entities matching the provided expression with the repository's default query strategy. (Inherited from Cocktail.Repository<T>) |
![]() | FindInCache | Overloaded. Retrieves one or more entities matching the provided expression from the cache. (Inherited from Cocktail.Repository<T>) |
![]() | FindInDataSourceAsync | Overloaded. Retrieves one or more entities matching the provided expression from the back-end data source. (Inherited from Cocktail.Repository<T>) |
![]() | Pager | Overloaded. Returns a pager which allows entities to be paged. |
![]() | WithIdAsync | Overloaded. Retrieves the entity matching the provided key with the repository's default query strategy. (Inherited from Cocktail.Repository<T>) |
![]() | WithIdFromCache | Retrieves the entity matching the provided key from the entity cache. (Inherited from Cocktail.Repository<T>) |
![]() | WithIdFromDataSourceAsync | Overloaded. Retrieves the entity matching the provided key from the back-end data source. (Inherited from Cocktail.Repository<T>) |
Name | Description | |
---|---|---|
![]() | GetFindBaseQuery | Returns the base query used for Find/All operations. Override to use named queries instead of the default queries. (Inherited from Cocktail.Repository<T>) |
![]() | GetFindQuery | Overloaded. Returns the query to retrieve a list of entities. (Inherited from Cocktail.Repository<T>) |
![]() | GetKeyQuery | Returns the query to retrieve a single entity, (Inherited from Cocktail.Repository<T>) |